$w: 10rem;
$c: blue;

body {
    box-sizing: border-box;
}
header {
    width: $w;
    height: 1.3333rem;
    display: flex;
    background: $c;
    justify-content: space-between;

    a {
        color: #fff;
        font-size: 0.5333rem;
        margin-top: 0.3rem;
        margin-left: 0.3rem;
    }

    h4 {
        font: 0.5333rem/1.3333rem "微软雅黑";
        color: #fff;
        font-weight: 800;
    }

    .appDown {
        width: 1.28rem;
        img {
            width: 0.9067rem;
            margin: 0.2rem 0;
        }
    }
}

// nav
nav {
    width: $w;
    height: 0.9333rem;
    margin-bottom: 0.1333rem;
    background-color: #fff;
    overflow: hidden;

    .nav_lis {
        margin-left: 0.5333rem;
        overflow-x: scroll;
        overflow-y: hidden;
        white-space: nowrap;

        li {
            display: inline-block;
            width: 1.8667rem;
            height: 0.9333rem;
            text-align: center;
            color: #000;
            line-height: 0.9333rem;

            font: {
                size: 0.3467rem;
                family: "微软雅黑";
            }

            &:nth-of-type(1) {
                width: 1.8667rem;
                height: 0.9333rem;
                color: #fc353a;
            }
        }
    }
}

// main部分
main {
    background: #cecece;
    .main {
        li {
            margin-bottom: 0.0267rem;
            background-color: #fff;
            width: 9.3333rem;
            // height: 4.9333rem;
            padding: 0.2667rem 0.2133rem;
            margin: 0 0 0.1333rem;
            display: flex;
            justify-content: space-between;

            img {
                width: 3.4667rem;
                height: 3.4667rem;
                padding-right: 0.2667rem;
                // border: .0267rem solid ;
            }

            .main-right {
                .top {
                    h4 {
                        font: {
                            size: 0.48rem;
                            family: "微软雅黑";
                        }

                        span {
                            color: #ff6c00;
                        }
                    }

                    p {
                        font: 0.64rem/1.28rem "";
                        color: #fc353a;

                        i {
                            font-size: 0.35rem;
                        }

                        em {
                            font-size: 0.32rem;
                        }
                        del {
                            text-decoration: line-through;
                            font-size: 0.32rem;
                            color: #ccc;
                        }
                    }
                }

                .bottom {
                    div {
                        display: flex;
                        flex-wrap: wrap;
                        // padding: .1333rem 0;

                        div {
                            a {
                                width: 0;
                                height: 0;
                            }
                            i {
                                width: 3.1467rem;
                                height: 0.5333rem;
                                background-color: #ddd;
                                border-radius: 0.2667rem;
                            }

                            b {
                                font-size: 0.3467rem;
                                font-family: "微软雅黑";
                                color: #fc353a;
                                margin-left: 0.1333rem;
                            }
                        }

                        p {
                            margin-top: 0.2667rem;
                            width: 4rem;
                            height: 0.6667rem;
                            text-align: center;
                            line-height: 0.6667rem;
                            color: #fc353a;
                            border: 0.0267rem dotted #fc353a;
                        }

                        a {
                            background-color: #fc353a;
                            color: #fff;
                            text-align: center;
                            width: 2.1333rem;
                            height: 0.8rem;
                            border-radius: 0.25rem;
                            line-height: 0.8rem;
                            margin: {
                                left: 3.7rem;
                            }
                        }
                        .scorll{
                            i{
                                width: 3.1467rem;
                                background: #ccc;
                            }
                        }
                    }
                }
            }
        }
    }
}

// 尾部
.footer {
    width: $w;
    background: #f4f4f4;
    height: 5.9768rem;
    div {
        width: $w;
        background: #f4f4f4;
        &:nth-of-type(1) {
            // padding: .2667rem;
            text-align: center;
            padding-top: 0.3rem;
            a {
                display: block;
                color: #333;
                font: 0.3467rem/0.8533rem "微软雅黑";
                border: 0.0267rem solid #cecece;
                border-radius: 0.2rem;

                margin: 0 0.1rem;
            }
        }
        &:nth-of-type(2) {
            background: $c;
            margin: 0.2667rem 0 0.16rem 0;
            height: 0.9333rem;
            display: flex;
            justify-content: space-between;
            span {
                color: #fff;
                font: 0.48rem/0.9333rem "";
                margin-left: 0.2rem;
                font-weight: 800;
            }
            a {
                padding: 0 0.2667rem 0 0;
                img {
                    width: 0.5333rem;
                    float: right;
                    margin: 0.2rem 0;
                }
            }
        }
        &:nth-of-type(3) {
            // width: $w;
            border: 0.0267rem solid #cecece;
            border-left: none;
            border-right: none;
            // display: flex;
            // padding: 0 .4rem;
            margin-top: 0.5rem;

            a {
                text-align: center;
                display: block;
                color: #333;
                height: 0.88rem;
                display: inline-block;
                border-right: 0.0267rem solid #cecece;
                font: 0.3733rem/0.88rem "";
                &:nth-of-type(1) {
                    width: 1.6733rem;
                    padding: 0 0.5333rem;
                }
                &:nth-of-type(2) {
                    width: 2.9333rem;
                }
                &:nth-of-type(3) {
                    width: 3.34rem;
                    border-right: none;
                }
            }
        }
        &:nth-of-type(4) {
            text-align: center;
            p {
                margin: 0.3rem 0;
                a {
                    font-size: 0.3467rem;
                    color: #333;
                }
            }
        }
    }
}
